#include <stdio.h>

int main(){
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    int temp;
    if (a<b){
        temp=b;
        b=a;
        a=temp;
    }
    if (a<c){
        temp=c;
        c=a;
        a=temp;
    }
    if (b<c){
        temp=c;
        c=b;
        b=temp;
    }
    if (b+c<=a){
        printf("Not a triangle");
        return 0;
    }
    if (b*b+c*c==a*a){
        prinf("Right triangle");
        return 0;
    }
    if (a==b&&b==c){
        printf("Equilateral triangle");
        return 0;
    }
    if ((a==b)|(b==c)){
        printf("Isosceles triangle");
        return 0;
    }
    if (a*a>(b*b+c*c)){
        printf("Obtuse triangle");
        return 0;
    }
    if (a*a<(b*b+c*c)){
        printf("Acute triangle");
        return 0;
    }
}